package com.gitee.wsl.common.chart.sample.bubble.model

import android.graphics.Paint
import android.graphics.PointF
import com.gitee.wsl.api.SelectAbleItem

/**
 * @ClassName BubbleData
 * @Description  气泡图数据类
 * @author XiongChuanLiang<br/>(xcl_168@aliyun.com)
 *
 */
class BubbleData() :SelectAbleItem {

    override var isSelected: Boolean=false

    //线上每个点的值
     var dataSet= mutableListOf<PointF>()
     var bubble= mutableListOf<Float>()

    //标签画笔
     var labelPaint: Paint = Paint(Paint.ANTI_ALIAS_FLAG)

    //标签轴用的到值
     var label = ""

    //是否在点上显示标签
     var isLabelVisible = false

    //气泡颜色
     var color = 0
     var borderColor = -1

    //标签文字旋转角度
     var itemLabelRotateAngle = 0.0f


}